﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AddProgram.aspx.cs" Inherits="SD.Web.Iteration1.Programme.AddProgramme" %>

<%@ Register src="../../Controls/Lookup/ContactLookup.ascx" tagname="ContactLookup" tagprefix="uc1" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
    <link href="../style/AnhPopup.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</asp:Content>
<asp:Content ID="ContentTitle" ContentPlaceHolderID="ContentTitle" runat="server">
    <h2>
        PROGRAM DETAILS</h2>
</asp:Content>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
    <div class="grid740 simplebox relative">
        <!-- start tabs codes -->
        <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
            <div style="float:right; width:140px; padding:0px;">
                <asp:Button CssClass="st-button" ID="ButtonSave" runat="server" Text="Save" OnClick="ButtonSave_Click" ValidationGroup="add"/>
                <asp:Button CssClass="st-button" ID="ButtonBack" runat="server" Text="Back" OnClick="ButtonBack_Click" />
            </div>
            <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
                <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1">
                    Details</a></li>
            </ul>
            <div style="right">
            </div>
            <div class="clear">
            </div>
            <div id="tabs-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
                <div class="simplebox">
                    <div class="st-form-line-noleft">
                        <div class="half">
                            <asp:Label ID="LabelProgramName" CssClass="st-labeltext level1" runat="server">Programme Name<span style="color:Red">*</span></asp:Label>
                            <asp:TextBox ID="TextBoxName" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox>
                             <span style="color:Red"><asp:Label ID = "lblCheck" runat="server" Visible="false"></asp:Label></span>
                        </div>
                        <div class="half last">
                            <asp:Label ID="LabelContactName" CssClass="st-labeltext level1" runat="server" Text="Contact"></asp:Label>
                            <asp:TextBox ID="TextBoxManagerName" CssClass="st-forminput st-disable" runat="server"
                                Width="150px" ReadOnly="True"></asp:TextBox>
                            <asp:HiddenField ID="HiddenFieldManagerId" runat="server" />
                            <asp:LinkButton ID="ButtonLookup" runat="server" CausesValidation="False" CssClass="hg-blue"
                                OnClick="ButtonLookup_Click">Lookup</asp:LinkButton>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                    <div class="st-form-line-noleft">
                        <div class="half">
                            <asp:Label ID="LabelDescription" CssClass="st-labeltext level1" runat="server" Text="Description"></asp:Label>
                            <asp:TextBox ID="TextBoxDescription" CssClass="st-forminput" runat="server" TextMode="MultiLine"
                                Rows="6" Width="200px"></asp:TextBox>
                        </div>
                        <div class="half last">
                            <asp:Label ID="LabelIsActive" CssClass="st-labeltext level1" runat="server" Text="Is Active"></asp:Label>
                            <asp:Literal ID="LiteralIsActive" runat="server" Text='Yes'></asp:Literal>
                        </div>
                        <div class="clear">
                            <span style="color:Red">
                            <asp:Label ID="lblCheckSuccess" runat="server" Visible="false"> Add success! </asp:Label>
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- end tabs codes -->
        <uc1:ContactLookup ID="ContactLookup1" runat="server" HiddenFieldResultId="HiddenFieldManagerId" TextBoxResultId="TextBoxManagerName"/>
    </div>
    <%--<wuc:contactlookuppopup ID="ContactLookupPopup" runat="server" />--%>
</asp:Content>
